package cn.hbcj.servlet.dao;

import cn.hbcj.servlet.domain.User;

import java.sql.SQLException;
import java.util.List;

/**
 * Created by Administrator on 2020/3/21.
 */
public interface UserDao {
  public void save(User u) throws SQLException;
  public void delete(int id) throws SQLException;
  public void update(User u) throws SQLException;
  public User findByid(int id) throws SQLException;
  public List<User> findAll() throws SQLException;

}
